html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  filter: blur(4px) contrast(8);
  background: #000;
}

.g-container {
  position: relative;
  width: 6vmin;
  height: 6vmin;
  margin: auto;
}

.g-first,
.g-ball {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 50%;
  transform: translate(-700%, 0);
  opacity: 0;
}

.g-ball:nth-child(0) {
  animation: move 3.5s infinite 0.1s linear;
}

.g-ball:nth-child(1) {
  animation: move 3.5s infinite 0.3s linear;
}

.g-ball:nth-child(2) {
  animation: move 3.5s infinite 0.5s linear;
}

.g-ball:nth-child(3) {
  animation: move 3.5s infinite 0.7s linear;
}

.g-ball:nth-child(4) {
  animation: move 3.5s infinite 0.9s linear;
}

.g-ball:nth-child(5) {
  animation: move 3.5s infinite 1.1s linear;
}

.g-ball:nth-child(6) {
  animation: move 3.5s infinite 1.3s linear;
}

.g-ball:nth-child(7) {
  animation: move 3.5s infinite 1.5s linear;
}

.g-first {
  animation: scaleMove 3.5s infinite linear;
}

@keyframes move {
  25% {
    opacity: 1;
    transform: translate(-1vw, 0);
  }
  50% {
    opacity: 1;
    transform: translate(1vw, 0);
  }
  75%,
  100% {
    opacity: 0;
    transform: translate(700%, 0);
  }
}

@keyframes scaleMove {
  25% {
    opacity: 1;
    transform: translate(-1vw, 0);
  }
  35% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    opacity: 1;
    transform: translate(1vw, 0) scale(2);
  }
  90%,
  100% {
    opacity: 0;
    transform: translate(1vw, 0) scale(1);
  }
}
